load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
    name = "pprof",
    srcs = glob(["src/**"]),
    crate_name = "ic_pprof",
    proc_macro_deps = [
        # Keep sorted.
        "@crate_index//:async-trait",
    ],
    version = "0.9.0",
    deps = [
        # Keep sorted.
        "@crate_index//:lazy_static",
        "@crate_index//:pprof",
        "@crate_index//:prost_0_12",
        "@crate_index//:regex",
        "@crate_index//:thiserror",
        "@crate_index//:tokio",
    ],
)
